package com.summer.data.jql.compose;

import com.summer.data.jql.concept.Field;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 345480567@qq.com
 */
// 多个字段，中间用 [,] 分开
public class FieldSurround {

    List<Field> fieldList = new ArrayList<Field>();

    public FieldSurround(Field... exps) {
        for (Field exp : exps) {
            fieldList.add(exp);
        }
    }

    public FieldSurround(List<Field> fieldList) {
        this.fieldList.addAll(fieldList);
    }

}
